#include "mainwindow.h"
#include "ui_mainwindow.h"

animatedNotifications *notif;

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    notif = new animatedNotifications();
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButton_clicked()
{
    notif->addNotification("Title","Message <br/> test <br/> more test <br/> some text <br/> some more text <br/> end message","./res/ava.png");
}

void MainWindow::on_pushButton_2_clicked()
{
    notif->addNotification("Title","Message ","./res/ava.png");
//    notif->test();
}
